package cn.tj212.xiaoyin.core.user.dao;

import cn.tj212.xiaoyin.common.page.TailPage;
import cn.tj212.xiaoyin.core.user.domain.UserFollowStudyRecord;
import cn.tj212.xiaoyin.core.user.domain.UserFollows;

import java.util.List;

public interface UserFollowsDao {
    UserFollows getById(Long id);

    List<UserFollows> queryAll(UserFollows queryEntity);

    Integer getTotalItemsCount(UserFollows queryEntity);

    List<UserFollows> queryPage(UserFollows queryEntity, TailPage<UserFollows> page);

    Integer getFollowStudyRecordCount(UserFollowStudyRecord queryEntity);

    List<UserFollowStudyRecord> queryFollowStudyRecord(UserFollowStudyRecord queryEntity, TailPage<UserFollowStudyRecord> page);

    void createSelectivity(UserFollows entity);

    void update(UserFollows entity);

    void updateSelectivity(UserFollows entity);

    void delete(UserFollows entity);

    void deleteLogic(UserFollows entity);
}
